/******************************************************************************
 * Copyright 2024 zhangcong. All Rights Reserved.
 *****************************************************************************/

#include <unistd.h>
#include "business/recordbusiness/record_manager.h"
#include "common/common_log.h"

int main()
{
    RecordManager recordManager;
    int32_t ret = recordManager.init();
    if (ret < 0)
    {
        Common_Log_e("recordmanager init fail!");
        return -1;
    }

    Common_Log_i("recordmanager init success!");
    Common_Log_i("recordmanager start running!");
    while (true)
    {
        recordManager.proc();
        sleep(1);
    }

    return 0;
}